<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
  
</body>

<script src="./node_modules/vue/dist/vue.min.js"></script>
<script>
    var vm = new Vue({
        template:'<div>{{name}}</div>',
        render(h){
           return h('div','哈哈哈');
        },
        data:{
            name:'zhujian'
        },
        mounted(){
            console.log('mounted');
        }
    });

    var instance = vm.$mount();
    document.body.append(instance.$el);

</script>
</html>